/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
}


/*
   * Global add-ons
   */

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/*
   * Top navigation
   * Hide default border to remove 1px line.
   */
.navbar-fixed-top {
    border: 0;
}

/*
   * Sidebar
   */

/* Hide for mobile, show later */
.sidebar {
    display: none;
}

@media (min-width: 768px) {
    .sidebar {
        position: fixed;
        top: 51px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto;
        /* Scrollable contents if viewport is shorter than content. */
        background-color: #f5f5f5;
        border-right: 1px solid #eee;
    }
}

/* Sidebar navigation */
.nav-sidebar {
    margin-right: -21px;
    /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}

.nav-sidebar>li>a {
    padding-right: 20px;
    padding-left: 20px;
}

.nav-sidebar>.active>a,
.nav-sidebar>.active>a:hover,
.nav-sidebar>.active>a:focus {
    color: #fff;
    background-color: #428bca;
}


/*
   * Main content
   */

.main {
    margin-left: 220px;
    padding: 20px;
}

@media (min-width: 768px) {
    .main {
        padding-right: 40px;
        padding-left: 40px;
    }
}

.main .page-header {
    margin-top: 0;
}


/*
   * Placeholder dashboard ideas
   */

.placeholders {
    margin-bottom: 30px;
    text-align: center;
}

.placeholders h4 {
    margin-bottom: 0;
}

.placeholder {
    margin-bottom: 20px;
}

.placeholder img {
    display: inline-block;
    border-radius: 50%;
}








#menu {
    font: 12px verdana, arial, sans-serif;
    /* 设置文字大小和字体样式 */
    width: 100%;
}

#menu,
#menu li {
    list-style: none;
    /* 将默认的列表符号去掉 */
    padding: 0;
    /* 将默认的内边距去掉 */
    margin: 0;
    /* 将默认的外边距去掉 */
    float: left;
    /* 往左浮动 */
    display: block;
}

#menu li span {
    display: inline-block;
    /* 将链接设为块级元素 */
    width: 80px;
    /* 设置宽度 */
    height: 30px;
    /* 设置高度 */
    line-height: 30px;
    /* 设置行高，将行高和高度设置同一个值，可以让单行文本垂直居中 */
    text-align: center;
    /* 居中对齐文字 */
    background: #3A4953;
    /* 设置背景色 */
    color: #fff;
    /* 设置文字颜色 */
    border-right: 2px solid #fff;
    /* 在左侧加上分隔线 */
}